/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Menu;

/**
 *
 * @author Jon
 */
public class JavaTutorial
{
    public static void main(String[] args)
    {
        System.out.println("If Statements!");
        System.out.println("If statements are important, unlike spelling...");
        System.out.println("If statements allow you to make a decsion in your program. For example:");
        int x = 2;
        int y = 3;
        if(x < y)
        {
            System.out.println("x is less than y!");
        }

        if(x == y)
        {
            System.out.println("This wont print out!");
        }

        System.out.println("As you can see I just made a decision.");
        System.out.println("Elses also help make a decision!");
        System.out.println("If x is NOT greater than y, then the code inside the else brackets will execute.");
        int a = 100;
        int b = 200;
        if(a == b)
        {
            System.out.println("Did we hit this case?");
        }
        else    //a != b
        {
            System.out.println("I bet this will print out...");
        }

        System.out.println("That's about it for else statements.");
        System.out.println("They are simple yet very powerfull tools in any programmers arsonel.");
    }
}